<?php 
 
namespace app\common\model;

use app\common\model\BaseModel;
use app\common\traits\ModelTrait;
use app\common\utils\JsonService;
/**
* This is the model class for table "{ptf_suppliers}".
*
* @property int $suppliers_id 供应商ID 
* @property string $suppliers_name 供应商名称
* @property string $suppliers_desc 供应商描述
* @property int $is_check 供应商状态 
* @property string $suppliers_contacts 供应商联系人
* @property string $suppliers_phone 供应商名字
*/
class Suppliers extends BaseModel{

    protected $pk = 'suppliers_id';
    protected $name = 'suppliers';

    use ModelTrait;
    protected $autoWriteTimestamp = true;
    //protected $dateFormat = 'Y-m-d';
    //protected $createTime = 'create_time';
    //protected $updateTime = 'update_time';

    /**
    * {@inheritdoc}
    */
    public function attributeLabels()
    {
        return [
            'suppliers_id' => '供应商ID',
            'suppliers_name' => '供应商名称',
            'suppliers_desc' => '供应商描述',
            'is_check' => '供应商状态',
            'suppliers_contacts' => '供应商联系人',
            'suppliers_phone' => '供应商名字',
        ];
    }

}


?>